package com.example.demo.dao.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.*;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "user_entity")
public class UserEntity extends BaseModel implements Serializable {

    @IsKey
    @IsAutoIncrement
    private Long id;

    @Column
    @Index
    private String loginName;

    @Column
    private String nickName;

    @Column
    private String realName;

    @Column
    private String password;

    @Column
    private String mobile;

    @Column
    private Boolean isTrue;

    @Column
    private Integer it;

    @Column
    private BigDecimal decimalss;

    @Column
    private Date createTime;

    @Column
    private Date modifyTime;
}